package demo2;

public class Test {
    public static void main1(String[] args) {
        //接口类不能被实例化,只能向上转型
        //IShape shape = new IShape();
        IShape shape = new Car();
        shape.draw();
    }
}
